package com.hope.hotel.entity.po;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

// 用户管理模块
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "users")
public class User {
    @TableId(value = "user_id")
    private String userId;
    private String username;
    private String password;
    private String email;
    private String phone;
    private String role; // "user" or "admin"
    private String avatar;
    private String idCard;
    private LocalDateTime createdAt;
}




